[1m[31mLocal data is older than two weeks, use --update to update it.

[39m[22m
[1m[39mchpasswd
[22m[39m
[39mChange the passwords for multiple users by using stdin.[22m[39m
[39mMore information: <https://manned.org/chpasswd.8>.[22m[39m
[32m
- Change the password for a specific user:[22m[39m
[31m    printf "[22m[39m[34musername[39m[31m:[22m[39m[34mnew_password[39m[31m" | sudo chpasswd[22m[39m
[32m
- Change the passwords for multiple users (The input text must not contain any spaces.):[22m[39m
[31m    printf "[22m[39m[34musername_1[39m[31m:[22m[39m[34mnew_password_1[39m[31m\n[22m[39m[34musername_2[39m[31m:[22m[39m[34mnew_password_2[39m[31m" | sudo chpasswd[22m[39m
[32m
- Change the password for a specific user, and specify it in encrypted form:[22m[39m
[31m    printf "[22m[39m[34musername[39m[31m:[22m[39m[34mnew_encrypted_password[39m[31m" | sudo chpasswd --encrypted[22m[39m
[32m
- Change the password for a specific user, and use a specific encryption for the stored password:[22m[39m
[31m    printf "[22m[39m[34musername[39m[31m:[22m[39m[34mnew_password[39m[31m" | sudo chpasswd --crypt-method [22m[39m[34mNONE|DES|MD5|SHA256|SHA512[39m[31m[22m[39m

